import request from '@/utils/myrequest'

// 初始化列表
export function getList(kvs) {
  return request({
    url: 'cms/CheckActionHistory/GetList',
    method: 'get',
    kvs
  })
}

// 动作下拉框数据
export function getActionIDAndNameList(kvs) {
  return request({
    url: 'cms/CheckActionHistory/GetActionIDAndNameList',
    method: 'get',
    kvs
  })
}

// 新增
export function doAdd(kvs) {
  return request({
    url: '/cms/SampleLimit/Add',
    method: 'POST',
    kvs
  })
}

// 编辑
export function doUpdate(kvs) {
  return request({
    url: '/cms/SampleLimit/Update',
    method: 'POST',
    kvs
  })
}

// 详情
export function getDetails(kvs) {
  return request({
    url: '/cms/SampleLimit/GetDetails',
    method: 'get',
    kvs
  })
}

// 删除
export function doDelete(kvs) {
  return request({
    url: '/cms/SampleLimit/Delete',
    method: 'POST',
    kvs
  })
}
